package com.leiduoduo.oms.dao;

import com.leiduoduo.oms.pojo.Table;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TableDao {
    boolean addTable(Table table);
    boolean delTable(Table table);
    boolean upTable(Table table);
    Table getTableById(int id);
    List<Table> getTableList();
    boolean startDinner(Table table);
}
